name: JepsenWorkflow
env:
  # Force the stdout and stderr streams to be unbuffered
  PYTHONUNBUFFERED: 1
concurrency:
  group: jepsen
on: # yamllint disable-line rule:truthy
  schedule:
    - cron: '0 */6 * * *'
  workflow_dispatch:
jobs:
  KeeperJepsenRelease:
    uses: ./.github/workflows/reusable_simple_job.yml
    with:
      test_name: Jepsen keeper check
      runner_type: style-checker
      report_required: true
      run_command: |
        python3 jepsen_check.py keeper
  # ServerJepsenRelease:
  #   uses: ./.github/workflows/reusable_simple_job.yml
  #   with:
  #     test_name: Jepsen server check
  #     runner_type: style-checker
  #     run_command: |
  #       cd "$REPO_COPY/tests/ci"
  #       python3 jepsen_check.py server
